package com.qf.zyh.entity;;


import java.util.Date;

public class Users {

  private int userId;
  private String userCode;
  private String password;
  private String email;
  private String gender;
  private Date registerTime;
  private Date lastLogintime;

  @Override
  public String toString() {
    return "Users{" +
            "userId=" + userId +
            ", userCode='" + userCode + '\'' +
            ", password='" + password + '\'' +
            ", email='" + email + '\'' +
            ", gender='" + gender + '\'' +
            ", registerTime=" + registerTime +
            ", lastLogintime=" + lastLogintime +
            '}';
  }

  public Users() {
  }

  public Users(String name, String s, String s1, String sex, Date s2, Date date) {
    this.userCode = name;
    this.password = s;
    this.email = s1;
    this.gender = sex;
    this.registerTime = s2;
    this.lastLogintime = date;
  }

  public Users(int userId, String userCode, String password, String email, String gender, Date registerTime, Date lastLogintime) {
    this.userId = userId;
    this.userCode = userCode;
    this.password = password;
    this.email = email;
    this.gender = gender;
    this.registerTime = registerTime;
    this.lastLogintime = lastLogintime;
  }

  public long getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }


  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }


  public Date getRegisterTime() {
    return registerTime;
  }

  public void setRegisterTime(java.sql.Date registerTime) {
    this.registerTime = registerTime;
  }


  public Date getLastLogintime() {
    return lastLogintime;
  }

  public void setLastLogintime(java.sql.Date lastLogintime) {
    this.lastLogintime = lastLogintime;
  }


}
